
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content=" Microsoft HTML Help Workshop 4.0">
<title>Inserting the HTML Help Java Applet</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</head>

<body>

<h1>Inserting the HTML Help Java Applet
</h1>

<P>Inserting the HTML Help Java Applet into a help topic or Web page involves adding the APPLET tag, and specifying the commands you would like the applet to perform.</P>

<h4>To insert the HTML Help Java Applet into an HTML file</h4>

	<ol>
	<li>Open an HTML file, and then position the cursor at the location where you would like the HTML Help Java Applet to appear.
	<li>Use the following syntax to add the applet:<br><br>
<code>&lt;APPLET code=&quot;HHCtrl.class&quot; width=200 height=200 codebase=&quot;code base&quot;&gt;<br>
&lt;PARAM name=&quot;Command&quot; value=&quot;command type&quot;&gt;<br>
&lt;PARAM name=&quot;Item1&quot; value=&quot;text data&quot;&gt;<br>
&lt;/APPLET&gt;</code>
	</li>
	</ol>

<h3>Notes</h3>

	<ul>
	<li>The CODEBASE attribute must point to the location of the applet's class files.
	<li>The following commands can be specified.
	<br><br>
<table>
<tr>
<td><b>Command</b></td>
<td><b>Description</b></td>
</tr>
<tr><td valign="top"><b>Contents</b></td>
<td>Specifies that a table of contents will appear based on the information supplied in the site map file specified in the <i>Item1</i> parameter (normally an .hhc file). The specified file must reside in the same directory as the document containing the applet.
<p>If the <b>Flags</b> parameter is specified, the first number is an extended window style, and the second is a TreeView or standard window style.</p>
</td>
</tr>
<tr>
<td valign="top"><b>Index</b></td>
<td>Specifies that an index will appear based on the information supplied in the site map file specified in the <i>Item1</i> parameter.</td>
</tr>
<tr>
<td valign="top"><b>Related Topics</b></td>
<td>Specifies that related topics will appear based on the information supplied in the site map file specified in the <i>Item1</i> parameter.</td>
</tr>
</table>
	</li>
	</ul>
	<br>
<table border="0" cellpadding="0" cellspacing="0">
<tr> <td valign="top"><a href="whtsJA.htm"><img src="home.gif" alt="Home page link" border="0"></a>
</td><td><a href="whtsJA.htm">About the HTML Help Java Applet</A>
</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</html>
